<div class="">
  <nz-table #nzTable [nzDataSource]="planData" nzSize="middle" [nzBordered]="true" [nzIsPagination]="false">
    <thead nz-thead>
    <tr>
      <th nz-th>
        <span>计划名称</span>
      </th>
      <th nz-th>
        <span>菜单名称</span>
      </th>
      <th nz-th>
        <span>计划开始时间</span>
      </th>
      <th nz-th>
        <span>计划结束时间</span>
      </th>
      <th nz-th>
        <span>操作</span>
      </th>

    </tr>
    </thead>
    <tbody nz-tbody>
    <tr nz-tbody-tr *ngFor="let data of planData">
      <td nz-td>{{data.planName}}</td>
      <td nz-td>{{data.functionName}}</td>
      <td nz-td style="color: red;font-weight: 900;" >{{data.planStartTime | date:'yyyy-MM-dd'}}</td>
      <td nz-td>{{data.planEndTime | date:'yyyy-MM-dd'}}</td>
      <td nz-td>
        <button nz-button [nzSize]="'small'" [nzType]="'primary'" (click)="go(data,$event)">前往</button>
      </td>
    </tr>
    </tbody>
  </nz-table>
</div>
